package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * MinIO 配置属性类
 * 通过 @ConfigurationProperties(prefix = "minio") 注解，将 application.properties 或 application.yml 中以 minio 为前缀的配置项自动绑定到该类的字段上。
 *
 * @author Taeyang
 * @date 2025/3/16
 */
@ConfigurationProperties(prefix = "minio")
@Data
public class MinioProperties {

    private String endpoint;

    private String accessKey;

    private String secretKey;

    private String bucketName;

}
